/*
 * @Descripttion: json 入口文件
 * @version:
 * @Author: qianlishi
 * @Date: 2021-08-29 07:46:46
 * @LastEditors: qianlishi qianlishi@anji-plus.com
 * @LastEditTime: 2023-04-19 09:22:37
 */

import { widgetText } from "./configure/texts/widget-text"
import { widgetMarquee } from "./configure/texts/widget-marquee"
import { widgetHref } from "./configure/texts/widget-href"
import { widgetTime } from "./configure/texts/widget-time"
import { widgetImage } from "./configure/texts/widget-image"
import { widgetSliders } from "./configure/texts/widget-slider"
import { widgetVideo } from "./configure/texts/widget-video"
import { widgetTable } from "./configure/texts/widget-table"
import { widgetIframe } from "./configure/texts/widget-iframe"
import { widgetUniversal } from "./configure/widget-universal"
import { widgetBarchart } from "./configure/barCharts/widget-barchart"
import { widgetGradientBarchart } from "./configure/barCharts/widget-gradient-barchart"
import { widgetLinechart } from "./configure/lineCharts/widget-linechart"
import { widgetBarlinechart } from "./configure/barlineCharts/widget-barlinechart"
import { widgetPiechart } from "./configure/pieCharts/widget-piechart"
import { widgetFunnel } from "./configure/funnelCharts/widget-funnel"
import { widgetGauge } from "./configure/percentCharts/widget-gauge"
import { widgetLineMap } from "./configure/mapCharts/widget-line-map"
import { widgetPieNightingale } from "./configure/pieCharts/widget-pie-nightingale"
import { widgetPiePercentage } from "./configure/percentCharts/widget-pie-percentage"
import { widgetAirbubbleMap } from "./configure/mapCharts/widget-airbubble-map"
import { widgetBarStack } from "./configure/barCharts/widget-bar-stack"
import { widgetLineStack } from "./configure/lineCharts/widget-line-stack"
import { widgetBarCompare } from "./configure/barCharts/widget-bar-compare"
import { widgetLineCompare } from "./configure/lineCharts/widget-line-compare"
import { widgetDecoratePie } from "./configure/styleWidget/widget-decorate-pie";
import { widgetMoreBarLine } from "./configure/barlineCharts/widget-more-bar-line";
import { widgetWordCloud } from "./configure/wordcloudCharts/widget-word-cloud";
import { widgetHeatmap } from "./configure/heatmap/widget-heatmap";
import { widgetRadar } from "./configure/radarCharts/widget-radar";
import { widgetBarLineStack } from "./configure/barlineCharts/widget-bar-line-stack";
import { widgetSelect } from "./configure/form/widget-select";
// import { widgetInput } from "./configure/form/widget-input";
import { widgetFormTime } from "./configure/form/widget-form-time";
import { widgetScaleVertical } from "./configure/scaleCharts/widget-scale-vertical";
import { widgetScaleHorizontal } from "./configure/scaleCharts/widget-scale-horizontal"
import { widgetScatter } from "./configure/scatterCharts/widget-scatter";
import { widgetBarDoubleYaxis } from "./configure/barCharts/widget-bar-double-yaxis-chart";
import { widgetBorder } from "./configure/styleWidget/widget-border";
import { widgetDecorateFlowLine } from "./configure/styleWidget/widget-decorate-flow-line";
import { widgetDecoration } from "./configure/styleWidget/widget-decoration";
import { widgetBarMap } from "./configure/mapCharts/widget-bar-map";
import { widgetChinaMap } from "./configure/mapCharts/widget-china-map";
import { widgetGlobalMap } from "./configure/mapCharts/widget-global-map";
import { widgetBarStackMoreShow } from "./configure/barCharts/widget-bar-stack-more-show";

import { universalImage } from "./universalImage";

export const widgetTool = [
  // type=html类型的组件
  widgetText,
  widgetBorder,
  widgetDecorateFlowLine,
  widgetDecoration,
  widgetMarquee,
  widgetHref,
  widgetTime,
  widgetImage,
  //  widgetSliders,
  widgetVideo,
  widgetTable,
  widgetIframe,
  //  widgetUniversal,
  widgetBarchart,
  widgetGradientBarchart,
  widgetLinechart,
  widgetBarlinechart,
  widgetPiechart,
  widgetFunnel,
  widgetGauge,
  widgetLineMap,
  widgetPieNightingale,
  widgetPiePercentage,
  widgetAirbubbleMap,
  widgetBarStack,
  widgetLineStack,
  widgetBarCompare,
  widgetLineCompare,
  widgetDecoratePie,
  widgetMoreBarLine,
  widgetWordCloud,
  widgetHeatmap,
  widgetRadar,
  widgetBarLineStack,
  widgetScaleVertical,
  widgetScaleHorizontal,
  widgetScatter,
  widgetSelect,
  // widgetInput,
  widgetFormTime,
  widgetBarDoubleYaxis,
  widgetBarMap,
  widgetChinaMap,
  widgetGlobalMap,
  widgetBarStackMoreShow,
  ...universalImage()
  // {
  //   code: 'universal-image:100',
  //   imageType: '',
  //   type: '测试新图片',
  //   tabName: '测试新图片',
  //   label: '测试图片',
  //   icon: 'icontupian',
  //   options: {
  //     // 配置
  //     setup: [
  //       {
  //         type: 'el-input-text',
  //         label: '图层名称',
  //         name: 'layerName',
  //         required: false,
  //         placeholder: '',
  //         value: '测试图片',
  //       },
  //       {
  //         type: 'el-switch',
  //         label: '开启旋转',
  //         name: 'startRotate',
  //         required: false,
  //         placeholder: '',
  //         value: false,
  //       },
  //       {
  //         type: 'el-slider',
  //         label: '旋转速度',
  //         name: 'rotationSpeed',
  //         required: false,
  //         placeholder: '',
  //         value: 70
  //       },
  //       {
  //         type: 'el-slider',
  //         label: '透明度',
  //         name: 'transparency',
  //         required: false,
  //         placeholder: '',
  //         value: 100
  //       },
  //       {
  //         type: 'el-input-number',
  //         label: '圆角',
  //         name: 'borderRadius',
  //         required: false,
  //         placeholder: '',
  //         value: '0'
  //       },
  //       {
  //         name: 'src',
  //         value: 'http://192.168.2.114:8000/%E5%AE%89%E5%85%A81.svg'
  //       },
  //     ],
  //     // 数据
  //     data: [],
  //     // 坐标
  //     position: [
  //       {
  //         type: 'el-input-number',
  //         label: '左边距',
  //         name: 'left',
  //         required: false,
  //         placeholder: '',
  //         value: 0,
  //       },
  //       {
  //         type: 'el-input-number',
  //         label: '上边距',
  //         name: 'top',
  //         required: false,
  //         placeholder: '',
  //         value: 0,
  //       },
  //       {
  //         type: 'el-input-number',
  //         label: '宽度',
  //         name: 'width',
  //         required: false,
  //         placeholder: '该容器在1920px大屏中的宽度',
  //         value: 300,
  //       },
  //       {
  //         type: 'el-input-number',
  //         label: '高度',
  //         name: 'height',
  //         required: false,
  //         placeholder: '该容器在1080px大屏中的高度',
  //         value: 200,
  //       },
  //     ],
  //   }
  // },
  // {
  //   code: 'universal-image:200',
  //   imageType: '',
  //   type: '测试新图片',
  //   tabName: '测试新图片',
  //   label: '测试图片2',
  //   icon: 'icontupian',
  //   options: {
  //     // 配置
  //     setup: [
  //       {
  //         type: 'el-input-text',
  //         label: '图层名称',
  //         name: 'layerName',
  //         required: false,
  //         placeholder: '',
  //         value: '测试图片2',
  //       },
  //       {
  //         type: 'el-switch',
  //         label: '开启旋转',
  //         name: 'startRotate',
  //         required: false,
  //         placeholder: '',
  //         value: false,
  //       },
  //       {
  //         type: 'el-slider',
  //         label: '旋转速度',
  //         name: 'rotationSpeed',
  //         required: false,
  //         placeholder: '',
  //         value: 70
  //       },
  //       {
  //         type: 'el-slider',
  //         label: '透明度',
  //         name: 'transparency',
  //         required: false,
  //         placeholder: '',
  //         value: 100
  //       },
  //       {
  //         type: 'el-input-number',
  //         label: '圆角',
  //         name: 'borderRadius',
  //         required: false,
  //         placeholder: '',
  //         value: '0'
  //       },
  //       {
  //         name: 'src',
  //         value: process.env.BASE_API + '/geovis/inner-Source/icon/configIcon/化学/空气分离器.svg'
  //       },
  //     ],
  //     // 数据
  //     data: [],
  //     // 坐标
  //     position: [
  //       {
  //         type: 'el-input-number',
  //         label: '左边距',
  //         name: 'left',
  //         required: false,
  //         placeholder: '',
  //         value: 0,
  //       },
  //       {
  //         type: 'el-input-number',
  //         label: '上边距',
  //         name: 'top',
  //         required: false,
  //         placeholder: '',
  //         value: 0,
  //       },
  //       {
  //         type: 'el-input-number',
  //         label: '宽度',
  //         name: 'width',
  //         required: false,
  //         placeholder: '该容器在1920px大屏中的宽度',
  //         value: 300,
  //       },
  //       {
  //         type: 'el-input-number',
  //         label: '高度',
  //         name: 'height',
  //         required: false,
  //         placeholder: '该容器在1080px大屏中的高度',
  //         value: 200,
  //       },
  //     ],
  //   }
  // }
]
